import layout from '@/layouts/index.vue';
export default [
  {
    path: '/overview',
    name:'overView',
    meta: {
      icon: 'SystemCodeIcon',
      title: '首页',
      isHide: true,
    },
    component: layout,
    children: [
      {
        path: '/overview/index',
        name: 'overviewIndex',
        meta: {
          icon: 'ClearIcon',
          title: '总览',
          isHide: false,
        },
        component: () => import('@/views/overview/index.vue'),
      },
    ],
  },
  {
    path: '/config',
    meta: {
      icon: 'SettingIcon',
      title: '配置中心',
      isHide: false,
    },
    component: layout,
    children: [
      {
        path: '/menu/index',
        name: '/menu/index',
        meta: {
          icon: 'AppIcon',
          title: '菜单管理',
          isHide: false,
        },
        component: () => import('@/views/menu/index.vue'),
      },
      {
        path: '/chartManage/config',
        name: '/chartManage/config',
        meta: {
          icon: 'ChartIcon',
          title: '图表配置',
          isHide: false,
        },
        component: () => import('@/views/chartManage/config.vue'),
      },
    ],
  },
  {
    path: '/face',
    redirect: '/face/index',
    meta: {
      icon: 'FaceRetouchingIcon',
      title: '轮廓捕捉',
      isHide: true,
    },
    component: layout,
    children: [
      {
        path: '/face/index',
        name: '/face/index',
        meta: {
          icon: 'FaceRetouchingIcon',
          title: '轮廓捕捉',
          isHide: false,
        },
        component: () => import('@/views/face/index.vue'),
      },
    ],
  },
];
